home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac Power 1997 December
/
MACPOWER-1997-12.ISO.7z
/
MACPOWER-1997-12.ISO
/
AMUG
/
PROGRAMMING
/
Raven 1.2 Examples.sit
/
Raven 1.2 Examples
/
Quill
/
Source
/
PicturePaneEditor.h
< prev
next >
Wrap
Text File
|
1997-09-08
|
2KB
|
71 lines
/*
* File: PicturePaneEditor.h
* Summary: A view that knows how to edit a TPicturePane.
* Written by: Jesse Jones
*
* Copyright ゥ 1997 Jesse Jones.
* For conditions of distribution and use, see copyright notice in ZTypes.h
*
* Change History (most recent first):
*
* <1> 9/08/97 JDJ Created
*/
#pragma once
#include <ZPicturePane.h>
#include "BasePaneEditor.h"
// ===================================================================================
// class CPicturePaneCommand
// ===================================================================================
class CPicturePaneCommand : public CBaseEditPaneCommand<TPicturePane, SPicturePaneInfo> {
typedef CBaseEditPaneCommand<TPicturePane, SPicturePaneInfo> Inherited;
//-----------------------------------
// Initialization/Destruction
//
public:
virtual ~CPicturePaneCommand();
CPicturePaneCommand(TPicturePane* pane, const SPicturePaneInfo& oldInfo, const SPicturePaneInfo& newInfo);
//-----------------------------------
// Inherited API
//
public:
virtual void UpdatePane(const SPicturePaneInfo& newInfo);
};
// ===================================================================================
// CPicturePaneEditor
// ===================================================================================
class CPicturePaneEditor : public CBasePaneEditor<TPicturePane, SPicturePaneInfo, CPicturePaneCommand> {
typedef CBasePaneEditor<TPicturePane, SPicturePaneInfo, CPicturePaneCommand> Inherited;
//-----------------------------------
// Initialization/Destruction
//
public:
virtual ~CPicturePaneEditor();
CPicturePaneEditor(TView* superView);
static MReanimatable* Create(MReanimatable* parent);
//-----------------------------------
// Inherited API
//
protected:
virtual SPicturePaneInfo GetEditorInfo() const;
virtual void SetEditorInfo(const SPicturePaneInfo& info);
};